Optimal. Leaf size=115 \[ -\frac {a^{10}}{7 x^7}-\frac {5 a^9 b}{3 x^6}-\frac {9 a^8 b^2}{x^5}-\frac {30 a^7 b^3}{x^4}-\frac {70 a^6 b^4}{x^3}-\frac {126 a^5 b^5}{x^2}-\frac {210 a^4 b^6}{x}+45 a^2 b^8 x+5 a b^9 x^2+\frac {b^{10} x^3}{3}+120 a^3 b^7 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {45}
\begin {gather*} -\frac {a^{10}}{7 x^7}-\frac {5 a^9 b}{3 x^6}-\frac {9 a^8 b^2}{x^5}-\frac {30 a^7 b^3}{x^4}-\frac {70 a^6 b^4}{x^3}-\frac {126 a^5 b^5}{x^2}-\frac {210 a^4 b^6}{x}+120 a^3 b^7 \log (x)+45 a^2 b^8 x+5 a b^9 x^2+\frac {b^{10} x^3}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a+b x)^{10}}{x^8} \, dx &=\int \left (45 a^2 b^8+\frac {a^{10}}{x^8}+\frac {10 a^9 b}{x^7}+\frac {45 a^8 b^2}{x^6}+\frac {120 a^7 b^3}{x^5}+\frac {210 a^6 b^4}{x^4}+\frac {252 a^5 b^5}{x^3}+\frac {210 a^4 b^6}{x^2}+\frac {120 a^3 b^7}{x}+10 a b^9 x+b^{10} x^2\right ) \, dx\\ &=-\frac {a^{10}}{7 x^7}-\frac {5 a^9 b}{3 x^6}-\frac {9 a^8 b^2}{x^5}-\frac {30 a^7 b^3}{x^4}-\frac {70 a^6 b^4}{x^3}-\frac {126 a^5 b^5}{x^2}-\frac {210 a^4 b^6}{x}+45 a^2 b^8 x+5 a b^9 x^2+\frac {b^{10} x^3}{3}+120 a^3 b^7 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 115, normalized size = 1.00 \begin {gather*} -\frac {a^{10}}{7 x^7}-\frac {5 a^9 b}{3 x^6}-\frac {9 a^8 b^2}{x^5}-\frac {30 a^7 b^3}{x^4}-\frac {70 a^6 b^4}{x^3}-\frac {126 a^5 b^5}{x^2}-\frac {210 a^4 b^6}{x}+45 a^2 b^8 x+5 a b^9 x^2+\frac {b^{10} x^3}{3}+120 a^3 b^7 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 110, normalized size = 0.96
method | result | size |
default | \(-\frac {a^{10}}{7 x^{7}}-\frac {5 a^{9} b}{3 x^{6}}-\frac {9 a^{8} b^{2}}{x^{5}}-\frac {30 a^{7} b^{3}}{x^{4}}-\frac {70 a^{6} b^{4}}{x^{3}}-\frac {126 a^{5} b^{5}}{x^{2}}-\frac {210 a^{4} b^{6}}{x}+45 a^{2} b^{8} x +5 a \,b^{9} x^{2}+\frac {b^{10} x^{3}}{3}+120 a^{3} b^{7} \ln \left (x \right )\) | \(110\) |
risch | \(\frac {b^{10} x^{3}}{3}+5 a \,b^{9} x^{2}+45 a^{2} b^{8} x +\frac {-210 a^{4} b^{6} x^{6}-126 a^{5} b^{5} x^{5}-70 a^{6} b^{4} x^{4}-30 a^{7} b^{3} x^{3}-9 a^{8} b^{2} x^{2}-\frac {5}{3} a^{9} b x -\frac {1}{7} a^{10}}{x^{7}}+120 a^{3} b^{7} \ln \left (x \right )\) | \(110\) |
norman | \(\frac {-\frac {1}{7} a^{10}+\frac {1}{3} b^{10} x^{10}+5 a \,b^{9} x^{9}+45 a^{2} b^{8} x^{8}-210 a^{4} b^{6} x^{6}-126 a^{5} b^{5} x^{5}-70 a^{6} b^{4} x^{4}-30 a^{7} b^{3} x^{3}-9 a^{8} b^{2} x^{2}-\frac {5}{3} a^{9} b x}{x^{7}}+120 a^{3} b^{7} \ln \left (x \right )\) | \(112\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 110, normalized size = 0.96 \begin {gather*} \frac {1}{3} \, b^{10} x^{3} + 5 \, a b^{9} x^{2} + 45 \, a^{2} b^{8} x + 120 \, a^{3} b^{7} \log \left (x\right ) - \frac {4410 \, a^{4} b^{6} x^{6} + 2646 \, a^{5} b^{5} x^{5} + 1470 \, a^{6} b^{4} x^{4} + 630 \, a^{7} b^{3} x^{3} + 189 \, a^{8} b^{2} x^{2} + 35 \, a^{9} b x + 3 \, a^{10}}{21 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.51, size = 114, normalized size = 0.99 \begin {gather*} \frac {7 \, b^{10} x^{10} + 105 \, a b^{9} x^{9} + 945 \, a^{2} b^{8} x^{8} + 2520 \, a^{3} b^{7} x^{7} \log \left (x\right ) - 4410 \, a^{4} b^{6} x^{6} - 2646 \, a^{5} b^{5} x^{5} - 1470 \, a^{6} b^{4} x^{4} - 630 \, a^{7} b^{3} x^{3} - 189 \, a^{8} b^{2} x^{2} - 35 \, a^{9} b x - 3 \, a^{10}}{21 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.24, size = 119, normalized size = 1.03 \begin {gather*} 120 a^{3} b^{7} \log {\left (x \right )} + 45 a^{2} b^{8} x + 5 a b^{9} x^{2} + \frac {b^{10} x^{3}}{3} + \frac {- 3 a^{10} - 35 a^{9} b x - 189 a^{8} b^{2} x^{2} - 630 a^{7} b^{3} x^{3} - 1470 a^{6} b^{4} x^{4} - 2646 a^{5} b^{5} x^{5} - 4410 a^{4} b^{6} x^{6}}{21 x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.09, size = 111, normalized size = 0.97 \begin {gather*} \frac {1}{3} \, b^{10} x^{3} + 5 \, a b^{9} x^{2} + 45 \, a^{2} b^{8} x + 120 \, a^{3} b^{7} \log \left ({\left | x \right |}\right ) - \frac {4410 \, a^{4} b^{6} x^{6} + 2646 \, a^{5} b^{5} x^{5} + 1470 \, a^{6} b^{4} x^{4} + 630 \, a^{7} b^{3} x^{3} + 189 \, a^{8} b^{2} x^{2} + 35 \, a^{9} b x + 3 \, a^{10}}{21 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 110, normalized size = 0.96 \begin {gather*} \frac {b^{10}\,x^3}{3}-\frac {\frac {a^{10}}{7}+\frac {5\,a^9\,b\,x}{3}+9\,a^8\,b^2\,x^2+30\,a^7\,b^3\,x^3+70\,a^6\,b^4\,x^4+126\,a^5\,b^5\,x^5+210\,a^4\,b^6\,x^6}{x^7}+45\,a^2\,b^8\,x+5\,a\,b^9\,x^2+120\,a^3\,b^7\,\ln \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________